package com.kangdi.server.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.kangdi.server.pojo.AdminRole;


/**
 * <p>
 * InnoDB free: 7168 kB; (`adminId`) REFER `yeb/t_admin`(`id`) ON DELETE CASCADE; ( 服务类
 * </p>
 *
 * @author kangdi
 * @since 2022-10-04
 */
public interface IAdminRoleService extends IService<AdminRole> {
    /**
     * 添加操作员角色信息
     * @param adminId
     * @param roles
     * @return
     */
    int addRoles(Integer adminId, Integer[] roles);
}
